package cn.sylinx.horm.model.base;

import cn.sylinx.horm.model.anno.Column;
import cn.sylinx.horm.model.anno.Version;

/**
 * 带版本号的实体
 * 
 * @author johnhan
 *
 */
public class VersionBaseModel extends BaseModel {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    @Version
    @Column("版本号")
    private Long recordVersion;

    public Long getRecordVersion() {
        return recordVersion;
    }

    public void setRecordVersion(Long recordVersion) {
        this.recordVersion = recordVersion;
    }
}
